package com.darren.euc.util.haqi.request;

/**
 * Created by Machenike-Pc on 2018/4/2.
 */
public class RecognitionHistoryRequest extends HaquRequest {
    /**
     * pageIndex	int	否	页码 默认1
     pageSize	int	否	每页的数量 默认20
     discernType	String	否	member ： 会员
     stranger：陌生人
     appCode	int	是	应用编号
     deviceId	int	否	识别设备的ID，不传查询所有设备的识别记录
     startTime	String	否	开始时间：格式必须 yyyy-MM-dd
     或者
     yyyy-MM-dd HH:mm:ss
     endTime	String	否	结束时间: 格式必须 yyyy-MM-dd 或者
     yyyy-MM-dd HH:mm:ss

     */

    private int pageIntex =1;
    private int pageSize = 20;
    private String discernType="member";

    private String appCode;
    private int deviceId;
    private String startTime;
    private String endTime;

    public int getPageIntex() {
        return pageIntex;
    }

    public void setPageIntex(int pageIntex) {
        this.pageIntex = pageIntex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getDiscernType() {
        return discernType;
    }

    public void setDiscernType(String discernType) {
        this.discernType = discernType;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public int getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(int deviceId) {
        this.deviceId = deviceId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("");
        sb.append("pageIntex=")
                .append(pageIntex);
        sb.append("&pageSize=")
                .append(pageSize);
        sb.append("&discernType=")
                .append(discernType);
        sb.append("&appCode=")
                .append(appCode);
        sb.append("&deviceId=")
                .append(deviceId);
        sb.append("&startTime=")
                .append(startTime);
        sb.append("&endTime=")
                .append(endTime);
        return sb.toString();
    }
}
